plus2(0, Y) -> Y
plus2(s1(X), Y) -> s1(plus2(X, Y))
min2(X, 0) -> X
min2(s1(X), s1(Y)) -> min2(X, Y)
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
quot2(0, s1(Y)) -> 0
quot2(s1(X), s1(Y)) -> s1(quot2(min2(X, Y), s1(Y)))
↳ QTRS
↳ DependencyPairsProof
plus2(0, Y) -> Y
plus2(s1(X), Y) -> s1(plus2(X, Y))
min2(X, 0) -> X
min2(s1(X), s1(Y)) -> min2(X, Y)
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
quot2(0, s1(Y)) -> 0
quot2(s1(X), s1(Y)) -> s1(quot2(min2(X, Y), s1(Y)))
PLUS2(s1(X), Y) -> PLUS2(X, Y)
MIN2(min2(X, Y), Z) -> PLUS2(Y, Z)
MIN2(s1(X), s1(Y)) -> MIN2(X, Y)
QUOT2(s1(X), s1(Y)) -> MIN2(X, Y)
MIN2(min2(X, Y), Z) -> MIN2(X, plus2(Y, Z))
QUOT2(s1(X), s1(Y)) -> QUOT2(min2(X, Y), s1(Y))
plus2(0, Y) -> Y
plus2(s1(X), Y) -> s1(plus2(X, Y))
min2(X, 0) -> X
min2(s1(X), s1(Y)) -> min2(X, Y)
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
quot2(0, s1(Y)) -> 0
quot2(s1(X), s1(Y)) -> s1(quot2(min2(X, Y), s1(Y)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
PLUS2(s1(X), Y) -> PLUS2(X, Y)
MIN2(min2(X, Y), Z) -> PLUS2(Y, Z)
MIN2(s1(X), s1(Y)) -> MIN2(X, Y)
QUOT2(s1(X), s1(Y)) -> MIN2(X, Y)
MIN2(min2(X, Y), Z) -> MIN2(X, plus2(Y, Z))
QUOT2(s1(X), s1(Y)) -> QUOT2(min2(X, Y), s1(Y))
plus2(0, Y) -> Y
plus2(s1(X), Y) -> s1(plus2(X, Y))
min2(X, 0) -> X
min2(s1(X), s1(Y)) -> min2(X, Y)
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
quot2(0, s1(Y)) -> 0
quot2(s1(X), s1(Y)) -> s1(quot2(min2(X, Y), s1(Y)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
PLUS2(s1(X), Y) -> PLUS2(X, Y)
plus2(0, Y) -> Y
plus2(s1(X), Y) -> s1(plus2(X, Y))
min2(X, 0) -> X
min2(s1(X), s1(Y)) -> min2(X, Y)
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
quot2(0, s1(Y)) -> 0
quot2(s1(X), s1(Y)) -> s1(quot2(min2(X, Y), s1(Y)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PLUS2(s1(X), Y) -> PLUS2(X, Y)
POL( s1(x1) ) = x1 + 1
POL( PLUS2(x1, x2) ) = 2x1 + 3x2 + 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
plus2(0, Y) -> Y
plus2(s1(X), Y) -> s1(plus2(X, Y))
min2(X, 0) -> X
min2(s1(X), s1(Y)) -> min2(X, Y)
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
quot2(0, s1(Y)) -> 0
quot2(s1(X), s1(Y)) -> s1(quot2(min2(X, Y), s1(Y)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
MIN2(s1(X), s1(Y)) -> MIN2(X, Y)
MIN2(min2(X, Y), Z) -> MIN2(X, plus2(Y, Z))
plus2(0, Y) -> Y
plus2(s1(X), Y) -> s1(plus2(X, Y))
min2(X, 0) -> X
min2(s1(X), s1(Y)) -> min2(X, Y)
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
quot2(0, s1(Y)) -> 0
quot2(s1(X), s1(Y)) -> s1(quot2(min2(X, Y), s1(Y)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MIN2(s1(X), s1(Y)) -> MIN2(X, Y)
Used ordering: Polynomial Order [17,21] with Interpretation:
MIN2(min2(X, Y), Z) -> MIN2(X, plus2(Y, Z))
POL( 0 ) = max{0, -3}
POL( s1(x1) ) = x1 + 3
POL( MIN2(x1, x2) ) = x1
POL( Z ) = 1
POL( min2(x1, x2) ) = 3x1 + 3x2
POL( plus2(x1, x2) ) = max{0, 2x2 - 3}
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
MIN2(min2(X, Y), Z) -> MIN2(X, plus2(Y, Z))
plus2(0, Y) -> Y
plus2(s1(X), Y) -> s1(plus2(X, Y))
min2(X, 0) -> X
min2(s1(X), s1(Y)) -> min2(X, Y)
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
quot2(0, s1(Y)) -> 0
quot2(s1(X), s1(Y)) -> s1(quot2(min2(X, Y), s1(Y)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MIN2(min2(X, Y), Z) -> MIN2(X, plus2(Y, Z))
POL( 0 ) = 1
POL( s1(x1) ) = 3x1
POL( MIN2(x1, x2) ) = max{0, 3x1 - 2}
POL( Z ) = 2
POL( min2(x1, x2) ) = 2x1 + 3x2 + 1
POL( plus2(x1, x2) ) = max{0, -3}
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
plus2(0, Y) -> Y
plus2(s1(X), Y) -> s1(plus2(X, Y))
min2(X, 0) -> X
min2(s1(X), s1(Y)) -> min2(X, Y)
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
quot2(0, s1(Y)) -> 0
quot2(s1(X), s1(Y)) -> s1(quot2(min2(X, Y), s1(Y)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
QUOT2(s1(X), s1(Y)) -> QUOT2(min2(X, Y), s1(Y))
plus2(0, Y) -> Y
plus2(s1(X), Y) -> s1(plus2(X, Y))
min2(X, 0) -> X
min2(s1(X), s1(Y)) -> min2(X, Y)
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
quot2(0, s1(Y)) -> 0
quot2(s1(X), s1(Y)) -> s1(quot2(min2(X, Y), s1(Y)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
QUOT2(s1(X), s1(Y)) -> QUOT2(min2(X, Y), s1(Y))
POL( 0 ) = 2
POL( s1(x1) ) = 3x1 + 2
POL( Z ) = max{0, -3}
POL( QUOT2(x1, x2) ) = max{0, 3x1 - 3}
POL( min2(x1, x2) ) = 3x1 + 1
POL( plus2(x1, x2) ) = max{0, -3}
min2(X, 0) -> X
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
min2(s1(X), s1(Y)) -> min2(X, Y)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
plus2(0, Y) -> Y
plus2(s1(X), Y) -> s1(plus2(X, Y))
min2(X, 0) -> X
min2(s1(X), s1(Y)) -> min2(X, Y)
min2(min2(X, Y), Z) -> min2(X, plus2(Y, Z))
quot2(0, s1(Y)) -> 0
quot2(s1(X), s1(Y)) -> s1(quot2(min2(X, Y), s1(Y)))